import numpy as np
import matplotlib.pyplot as plt
x=np.linspace(-np.pi,np.pi,200)
y_sin=np.sin(x)

plt.plot(x,y_sin)
plt.show()